Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

[whisper] Move needed aes_gcm crypto in-crate #10647

Merged
merged 1 commit into from
May 13, 2019

Conversation

dvdplm
Copy link
Collaborator

@dvdplm dvdplm commented May 13, 2019

In the latest parity-crypto release (upcoming 0.4), the aes GCM features were removed (done to remove the dependency on ring).
This PR adds the bare minimum crypto needed for Whisper directly to the crate itself and as those were the only features needed from parity-crypto, removes the dependency on that crate altogether.

Fixes (part of) #10645.

In the latest `parity-crypto` release (upcoming 0.4), the aes GCM features were removed (done to remove the dependency on `ring`).
This PR adds the bare minimum crypto needed for Whisper directly to the crate itself and as those were the only features needed from `parity-crypto`, removes the dependency on that crate altogether.
@dvdplm dvdplm requested a review from ordian May 13, 2019 07:56
@dvdplm dvdplm self-assigned this May 13, 2019
@dvdplm dvdplm added the A0-pleasereview 🤓 Pull request needs code review. label May 13, 2019
@ordian ordian requested a review from tomaka May 13, 2019 08:26
@ordian ordian added A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust. M5-dependencies 🖇 Dependencies. labels May 13, 2019
@ordian ordian added this to the 2.6 milestone May 13, 2019
@ordian ordian removed the A0-pleasereview 🤓 Pull request needs code review. label May 13, 2019
@ordian ordian merged commit 42268fd into master May 13, 2019
@ordian ordian deleted the dp/chore/move-ring-specifics-into-whisper branch May 13, 2019 09:26
ordian added a commit that referenced this pull request May 16, 2019
* master:
  docs: Add ProgPoW Rust docs to ethash module (#10653)
  fix: Move PR template into .github/ folder (#10663)
  docs: Add PR template (#10654)
  Trivial journal for private transactions (#10056)
  fix(compilation warnings) (#10649)
  [whisper] Move needed aes_gcm crypto in-crate (#10647)
  Adds parity_getRawBlockByNumber, parity_submitRawBlock (#10609)
  Fix rinkeby petersburg fork (#10632)
  ci: publish docs debug (#10638)
dvdplm added a commit that referenced this pull request May 19, 2019
* master:
  docs: Add ProgPoW Rust docs to ethash module (#10653)
  fix: Move PR template into .github/ folder (#10663)
  docs: Add PR template (#10654)
  Trivial journal for private transactions (#10056)
  fix(compilation warnings) (#10649)
  [whisper] Move needed aes_gcm crypto in-crate (#10647)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust. M5-dependencies 🖇 Dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants